<template>
  <div class="flex flex-row cc mx-[5px]">
    <el-icon :color="props.color || '#fff'" @click="showNav"><i-ep-Menu /></el-icon>
  </div>
</template>

<script lang="ts" setup>
import { useAppStore } from "@/store";
const props = defineProps(["color"]);
const app = useAppStore();

const showNav = () => {
  app.setNavStatus(!app.showNav);
};
</script>
